import 'package:bloc/bloc.dart';

import 'welcome_event.dart';
import 'welcome_state.dart';

class WelcomeBloc extends Bloc<WelcomeEvent, WelcomeState> {
  WelcomeBloc() : super(WelcomeState(page: 0)){

    on<WelcomeEvent> ((event,emit){
      print("welcom event ");
      emit(WelcomeState(page: state.page));
    });
  }
}
